<ion-header>
    <ion-navbar>
        <ion-title>Home</ion-title>
    </ion-navbar>
</ion-header>

<ion-content padding>
    <button ion-item (click)="share('Message only')">message only</button>
    <button ion-item (click)="share('Message and subject', 'The subject')">message and subject</button>
    <button ion-item (click)="share(null, null, null, 'http://www.x-services.nl')">link only</button>
    <button ion-item (click)="share('Message and link', null, null, 'http://www.x-services.nl')">message and link</button>
    <button ion-item (click)="share(null, null, 'https://www.google.nl/images/srpr/logo4w.png', null)">image only</button>

    <button ion-item (click)="share(null, 'Android filename', '', null)">base64 image only</button>
    <button ion-item (click)="share('Message and image', null, 'https://www.google.nl/images/srpr/logo4w.png', null)">message and image</button>
    <button ion-item (click)="share('Message, image and link', null, 'https://www.google.nl/images/srpr/logo4w.png', 'http://www.x-services.nl')">message, image and link</button>
    <button ion-item (click)="share('Message, subject, image and link', 'The subject', 'https://www.google.nl/images/srpr/logo4w.png', 'http://www.x-services.nl')">message, subject, image and link</button>



    <button ion-item (click)="a()">message, subject, image and link</button>
    <button ion-item (click)="b()">message, subject, image and link</button>
    <button ion-item (click)="c()">message, subject, image and link</button>
    <button ion-item (click)="d()">message, subject, image and link</button>
    <button ion-item (click)="e()">message, subject, image and link</button>
</ion-content>